package com.bjmashibing.system;

import com.bjmashibing.system.huawei.static_var;
import com.bjmashibing.system.huawei.vivo.vivo_push;
import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * @Classname test_huawei
 * @Description TODO
 * @Date 2020/11/24/024 11:10
 * @Created by Administrator
 */
public class test_huawei {
    private final static Logger logger = LoggerFactory.getLogger(test_huawei.class);
    @Test
    public void test(){
        String str_token = "IQAAAACy0Z4gAADmFeDT1617BHdt2W1PDNEiyLE6wMVSQvEthZQ6OY8ZfRivwhDfzwT5zYqyXQ7c2WIq06usIwBcHO01N30JPcR9-83K8r7xjX8A8g";

        try {
            static_var.push_huawei_obj.huawei_initialize_app();
            static_var.push_huawei_obj.sendNotification2(str_token,"全局布防","861232323;|3400 00 000]","861232323","|3400 00 000]");
        } catch (Exception e) {
            logger.info("test_huawei,error=",e);
            e.printStackTrace();
        }
    }
}
